<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>滚动加载</title>
    <link rel="stylesheet" href="style.css">
</head>
<body>
    <div id="console"></div>
    <div id="app"></div>
    <script src="https://cdnjs.cloudflare.com/ajax/libs/require.js/2.3.6/require.min.js"></script>
    <script>
        requirejs.config({
            paths: {
                "react": 'https://cdnjs.cloudflare.com/ajax/libs/react/16.13.1/umd/react.production.min',
                "react-dom": 'https://cdnjs.cloudflare.com/ajax/libs/react-dom/16.13.1/umd/react-dom.production.min',
            }
        })
        requirejs(['index'])
    </script>
</body>
</html>